<script setup>
import { ref } from 'vue';
const array = ref([]); // 创建一个空数组的响应式引用  
const set = ref(new Set()); // 创建一个空的响应式集合


const onSubmit = () => {
    console.log('submit!')
    console.log(set)
    set.value.add("123")
    set.value.add("abc")
    set.value.add("abc")
    set.value.add("456")
    console.log(set.value)


}
</script>

<template>
<el-button type="success" class="search_btn" style="font-size: 20px;" @click="onSubmit"><span
                      style="color: black;">Search</span></el-button>
</template>

<style scoped></style>
